From aa2e4a27370a0528d13e10c390d7eab0a293a2cd Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 22 Aug 2022 07:19:52 -0600 Subject: [PATCH] fix maps javascript api deprecation warning. (#914) js: google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead: https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener --- gui/gmapbase.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/gmapbase.html b/gui/gmapbase.html index af37b8168..15a50f8be 100644 --- a/gui/gmapbase.html +++ b/gui/gmapbase.html @@ -155,7 +155,7 @@ function setupWebChannel() { } } -google.maps.event.addDomListener(window, "load", initialize); +window.addEventListener("load", initialize); -- 2.30.2